package com.cs.cssupplier.service.impl;


import com.cs.cssupplier.domain.CsAchievement;
import com.cs.cssupplier.mapper.CsAchievementMapper;
import com.cs.cssupplier.service.CsAccessoriesService;
import com.cs.cssupplier.service.CsAchievementService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author admin
* @description 针对表【cs_achievement(业绩表)】的数据库操作Service实现
* @createDate 2024-11-11 16:40:47
*/
@Service
public class CsAchievementServiceImpl implements CsAchievementService {

    @Resource
    private CsAchievementMapper mapper;

    @Override
    public CsAchievement selectAchievementyjId(Long yjId) {
        return mapper.selectAchievementyjId(yjId);
    }

    @Override
    public List<CsAchievement> selectAchievementList(CsAchievement csAchievement) {
        return mapper.selectAchievementList(csAchievement);
    }

    @Override
    public int addAchievement(CsAchievement csAchievement) {
        return mapper.addAchievement(csAchievement);
    }

    @Override
    public int updateAchievement(CsAchievement csAccessories) {
        return mapper.updateAchievement(csAccessories);
    }

    @Override
    public int deleteAchievement(Long yjId) {
        return mapper.deleteAchievement(yjId);
    }

    @Override
    public int deleteListAchievement(Long[] yjIds) {
        return mapper.deleteListAchievement(yjIds);
    }
}




